#include<bits/stdc++.h>
using namespace std;
int main()
{
	long long x;
	vector<long long> a, b;
	for(int i = 1;i <= 7;i++){
		cin>>x;
		a.push_back(x);
	}
	for(int i = 1;i <= 7;i++){
		cin>>x;
		b.push_back(x);
	}
	for(int i = 1;i <= 7;i++){
		cout<<a[i-1]+b[i-1]<<" ";
	}
	return 0;
}
